package com.ecnu.system.service;

import com.ecnu.common.core.domain.AjaxResult;
import com.ecnu.common.core.domain.model.LoginUser;
import com.ecnu.common.core.page.TableDataInfo;
import com.ecnu.system.domain.ProjectUser;
import com.ecnu.system.domain.dto.ProjectUserDTO;
import com.ecnu.system.domain.dto.ProjectUserFalseDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 公告 服务层
 * 
 * @author ruoyi
 */
public interface IProjectJoinService
{


    int insertProjectUser(ProjectUser user);
    List<ProjectUser> selectUnauditUser(@Param("status") String status);
    TableDataInfo selectProUserById(@Param("dto")ProjectUserDTO projectUserDTO);
    ProjectUser selectProJoinStatus(@Param("userId") String userId,@Param("proId") String proId);

    int updateJoinStatus(ProjectUserFalseDTO dto, LoginUser loginUser);

    AjaxResult selectProUserInfo(String id);
}
